.Net Framework > v3.5.21022.8 > System > Linq > Queryable > Sum<TSource> Sum<TSource>(IQueryable<TSource>,Func<TSource,Int32>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Int32>>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Int64>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Int64>>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Single>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Single>>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Double>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Double>>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Decimal>>)
Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Decimal>>>)


Sum<TSource>(IQueryable<TSource>,Func<TSource,Int32>>)

Category
Method
Description
Computes the sum of the sequence of System.Int32 values that is obtained by invoking a projection function on each element of the input sequence.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,Int32>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Int32>>>)

Category
Method
Description
Computes the sum of the sequence of nullable System.Int32 values that is obtained by invoking a projection function on each element of the input sequence.
Type
System.Nullable<Int32>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,System.Nullable<Int32>>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Int64>>)

Category
Method
Description
Computes the sum of the sequence of System.Int64 values that is obtained by invoking a projection function on each element of the input sequence.
Type
Int64
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,Int64>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Int64>>>)

Category
Method
Description
Computes the sum of the sequence of nullable System.Int64 values that is obtained by invoking a projection function on each element of the input sequence.
Type
System.Nullable<Int64>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,System.Nullable<Int64>>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Single>>)

Category
Method
Description
Computes the sum of the sequence of System.Single values that is obtained by invoking a projection function on each element of the input sequence.
Type
Single
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,Single>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Single>>>)

Category
Method
Description
Computes the sum of the sequence of nullable System.Single values that is obtained by invoking a projection function on each element of the input sequence.
Type
System.Nullable<Single>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,System.Nullable<Single>>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Double>>)

Category
Method
Description
Computes the sum of the sequence of System.Double values that is obtained by invoking a projection function on each element of the input sequence.
Type
Double
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,Double>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Double>>>)

Category
Method
Description
Computes the sum of the sequence of nullable System.Double values that is obtained by invoking a projection function on each element of the input sequence.
Type
System.Nullable<Double>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,System.Nullable<Double>>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Decimal>>)

Category
Method
Description
Computes the sum of the sequence of System.Decimal values that is obtained by invoking a projection function on each element of the input sequence.
Type
Decimal
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,Decimal>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Sum<TSource>(IQueryable<TSource>,Func<TSource,Nullable<Decimal>>>)

Category
Method
Description
Computes the sum of the sequence of nullable System.Decimal values that is obtained by invoking a projection function on each element of the input sequence.
Type
System.Nullable<Decimal>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
selectorSystem.Linq.Expressions.Expression<System.Func<TSource,System.Nullable<Decimal>>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database